package practice;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User: Administrator
 * Data: 2023 - 06 - 04
 * Time: 15:24
 */
class Outclass1 {
    public int data1 = 1;
    public static int data2 = 2;
    class InnerClass {
        public int data1 = 11;
        public static final int data6 = 6;
        public void test() {
            System.out.println(this.data1);
            System.out.println(data2);
            System.out.println(Outclass1.this.data1);
            System.out.println(data6);
        }
    }
}
public class Test3 {
    public static void main(String[] args) {
        Outclass1.InnerClass innerClass2 = new Outclass1().new InnerClass();
        innerClass2.test();
        final int[] array = {1, 2, 3};
        array[0] = 10;
    }
}
